package com.spring.nio;

import com.spring.nio.common.OSinfo;
import com.spring.nio.core.ClientStartContext;
import com.spring.nio.util.LocalTime;
import lombok.extern.slf4j.Slf4j;
import java.time.LocalDateTime;

/**
 * @Author: spring
 * @Date: 2021/02/13 00:00:30
 * @Pacage_name: com.spring.nio
 * @Project_Name: nio-client
 * @Description: 网络服务端管理
 */
@Slf4j
public class NioClientApp {
    public static void main( String[] args ) {
        log.info("[" + LocalTime.formatDate(LocalDateTime.now()) + "] App | --> 文件客户端[http服务]开始启动, 当前操作系统类型: " + OSinfo.getOSname() + ", 可支持的最大线程数: " + Runtime.getRuntime().availableProcessors());
        ClientStartContext.startService();
    }
}
